laravel download file from public folder

51

laravel download file from public folder -

$filePath = public_path("name_of_your_file.txt");
return Response::download($filePath);

Comments

Submit
0 Comments